<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01 Transitional//EN">
<html >
	<head >
		<?php echo $header; ?>
	</head>
	<body>
		<div id="" class="header"><?php echo $title; ?></div>
		<?php echo form_open("calls/nJ", array('cif_name'=>'create_menuitem_form'))?>
		<fieldset>
		<legend>Данные документа</legend>
		<table width="100%" class="tbl">
		<tr>
			<td>
				<?php echo $date_doc; ?>
			</td>
			<td>
				<?php echo $date_doc_field; ?>
			</td>
			<td>
				<?php echo $_advertisessources_rid; ?>
			</td>
			<td>
				<?php echo $_advertisessources_rid_field; ?>
				<font color="red"><?php echo $this->validation->_advertisessources_rid_error; ?></font>
			</td>
			<td>
				<?php echo $_callsstatuses_rid; ?>
			</td>
			<td>
				<?php echo $_callsstatuses_rid_field; ?>
				<font color="red"><?php echo $this->validation->_callsstatuses_rid_error; ?></font>
			</td>
		</tr>
		</table>
		</fieldset>
		<fieldset>
		<legend>Данные клиента</legend>
		<table width="100%" class="tbl">
		<tr>
			<td>
				<?php echo $f_name; ?>
			</td>
			<td>
				<?php echo $f_name_field; ?>
				<font color="red"><?php echo $this->validation->f_name_error; ?></font>
			</td>
			<td>
				<?php echo $s_name; ?>
			</td>
			<td>
				<?php echo $s_name_field; ?>
				<font color="red"><?php echo $this->validation->s_name_error; ?></font>
			</td>
			<td>
				<?php echo $l_name; ?>
			</td>
			<td>
				<?php echo $l_name_field; ?>
				<font color="red"><?php echo $this->validation->l_name_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $phones; ?>
			</td>
			<td>
				<?php echo $phones_field; ?>
				<font color="red"><?php echo $this->validation->phones_error; ?></font>
			</td>
			<td>
				<?php echo $email; ?>
			</td>
			<td>
				<?php echo $email_field; ?>
				<font color="red"><?php echo $this->validation->email_error; ?></font>
			</td>
		</tr>
		</table>
		</fieldset>
		<fieldset>
		<legend>Данные тура</legend>
		<table width="100%" class="tbl">
		<tr>
			<td>
				<?php echo $_countries_rid; ?>
			</td>
			<td>
				<?php echo $_countries_rid_field; ?>
				<font color="red"><?php echo $this->validation->_countries_rid_error; ?></font>
			</td>
			<td>
				<?php echo $_callhotelcats_rid; ?>
			</td>
			<td colspan="20">
				<?php echo $_callhotelcats_rid_field; ?>
				<font color="red"><?php echo $this->validation->_callhotelcats_rid_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $date_from; ?>
			</td>
			<td>
				<?php echo $date_from_field; ?>
				<font color="red"><?php echo $this->validation->date_from_error; ?></font>
			</td>
			<td>
				<?php echo $date_to; ?>
			</td>
			<td>
				<?php echo $date_to_field; ?>
				<font color="red"><?php echo $this->validation->date_to_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $summ_wanted_from; ?>
			</td>
			<td>
				<?php echo $summ_wanted_from_field; ?>
				<font color="red"><?php echo $this->validation->summ_wanted_from_error; ?></font>
			</td>
			<td>
				<?php echo $summ_wanted_to; ?>
			</td>
			<td>
				<?php echo $summ_wanted_to_field; ?>
				<font color="red"><?php echo $this->validation->summ_wanted_to_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $_currencies_rid; ?>
			</td>
			<td>
				<?php echo $_currencies_rid_field; ?>
				<font color="red"><?php echo $this->validation->_currencies_rid_error; ?></font>
			</td>
			<td>
				<?php echo $tourists_quan; ?>
			</td>
			<td>
				<?php echo $tourists_quan_field; ?>
				<font color="red"><?php echo $this->validation->tourists_quan_error; ?></font>
			</td>
		</tr>
		</table>
		</fieldset>
		<fieldset>
		<legend>Содержание беседы</legend>
		<table width="100%" class="tbl">
		<tr>
			<td>
				<?php echo $tourists_wish; ?>
			</td>
			<td>
				<?php echo $tourists_wish_field; ?>
				<font color="red"><?php echo $this->validation->tourists_wish_error; ?></font>
			</td>
			<td>
				<?php echo $tourists_answers; ?>
			</td>
			<td>
				<?php echo $tourists_answers_field; ?>
				<font color="red"><?php echo $this->validation->tourists_answers_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $tourists_offers; ?>
			</td>
			<td colspan="20">
				<?php echo $tourists_offers_field; ?>
				<font color="red"><?php echo $this->validation->tourists_offers_error; ?></font>
			</td>
		</tr>
		<tr>
		</tr>
		</table>
		</fieldset>
		<table width="100%" class="tbl">
		<tr>
			<td>
				<?php echo $descr; ?>
			</td>
			<td>
				<?php echo $descr_field; ?>
				<font color="red"><?php echo $this->validation->descr_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $archive; ?>
			</td>
			<td>
				<?php echo $archive_field; ?>
				<font color="red"><?php echo $this->validation->archive_error; ?></font>
			</td>
		</tr>
		</table>
		<center>
			<?php echo form_submit('create_new_submit','OK'); ?>
		</center>
		<?php echo form_close(); ?>
	</body>
</html>	
